package com.collection.api;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.collection.api.entity.ApplyMain;
import com.collection.api.entity.ApplyMainExample;

public interface ApplyMainService {

    int deleteByPrimaryKey(Integer applyMainId);

    int insert(ApplyMain record);

    int insertSelective(ApplyMain record);

    List<ApplyMain> selectByExample(ApplyMainExample example);

    ApplyMain selectByPrimaryKey(Integer applyMainId);

    int updateByPrimaryKeySelective(ApplyMain record);

    int updateByPrimaryKey(ApplyMain record);
    /**
     * 
     * @Description :通过用户的applyid查询用户的申请信息
     * @author : zongzp
     * @date :2018年1月16日上午11:48:46
     * @version : 1.2.0
     * @param applyMainId
     * @return : Map<String,Object>
     */
	Map<String, Object> getUserApplyInfoByApplyId(Integer applyMainId);
}